import request from '@/utils/request'

export function selectSysOrderInfoEndList(data) {
  return request({
    url: 'order/orderEnd/list',
    method: 'post',
    data,
  })
}

export function cancelEndInfo(id, orderNo, customerCode) {
  return request({
    url: `order/orderEnd/cancelEndInfo/${ id }/${ orderNo }/${ customerCode }`,
    method: 'get',
  })
}
export function getEndList(id) {
  return request({
    url: `order/orderEnd/getOrderEndInfo/${ id }`,
    method: 'get',
  
  })
}

export function orderTrack(orderNo) {
  return request({
    url: `order/orderTrack/${ orderNo }`,
    method: 'post',
    
  })
}